﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Foothill.Model;
using Foothill.Common;

namespace Foothill.Service.UploadPhoto
{
    public interface IUploadPhotoService
    {
        // save photos to db 
        void InsertPhotos(IList<Model.UploadPhoto> photoList, int adId, AdType adType);

        IList<Model.UploadPhoto> GetForSaleAdUploadedPhotos(int postId);

        void DeletePhotoAndThumbnail(string photoFileName, string thumbnailFileName);

        string GetUploadPhotoImageUrl(string fileName);

        string GetThumbnailPhotoImageUrl(string fileName);

        string GetUploadPhotoPathOnServer(string fileName);

        string GetThumbnailPhotoPathOnServer(string fileName);
    }
}
